package com.fps.web.model;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.fpswork.datamodel.base.BaseSysDO;

/**
* @ClassName: Baseattach
* @Description:附件
* @author Spf
* @date 2019-01-02
*/

@Entity
@Table(name="BASEATTACH")
public class Baseattach extends BaseSysDO{
	private static final long serialVersionUID = 1L;
    @Id
    @GenericGenerator(name="systemUUID",strategy="uuid")  
    @GeneratedValue(generator="systemUUID")  
    @Column(name = "id", insertable = true, updatable = true, nullable = false)
    private String id;
    /*附件路径*/
    private String path;

    /*附件别名*/
    private String name;

    /*附件名称*/
    private String format;

    /*附件长度*/
    private int length;

    /*附件大小*/
    private String filesize;

    /*标志*/
    private String flag;

    /**/
    private String objectid;

    /**/
    private String md5;

    /*更新时间*/
    private String uploadtime;

    /*附件所属类型*/
    private String model;

    /*附件所属类型id*/
    private String modelid;

    /*是否删除*/
    private int isdelete;

 

    public String getId() {
    	return id;
    }
    public void setId(String id) {
    	this.id = id;
    }
    public String getPath() {
        return this.path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFormat() {
        return this.format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public int getLength() {
        return this.length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public String getFilesize() {
        return this.filesize;
    }

    public void setFilesize(String filesize) {
        this.filesize = filesize;
    }

    public String getFlag() {
        return this.flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getObjectid() {
        return this.objectid;
    }

    public void setObjectid(String objectid) {
        this.objectid = objectid;
    }

    public String getMd5() {
        return this.md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getUploadtime() {
        return this.uploadtime;
    }

    public void setUploadtime(String uploadtime) {
        this.uploadtime = uploadtime;
    }

    public String getModel() {
        return this.model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getModelid() {
        return this.modelid;
    }

    public void setModelid(String modelid) {
        this.modelid = modelid;
    }

    public int getIsdelete() {
        return this.isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

}


